package com.tro.generator.mapper;

import com.tro.generator.entity.GenTableCol;
import com.tro.generator.entity.GenTableColExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GenTableColMapper {
    int countByExample(GenTableColExample example);

    int deleteByExample(GenTableColExample example);

    int deleteByPrimaryKey(String id);

    int insert(GenTableCol record);

    int insertSelective(GenTableCol record);

    List<GenTableCol> selectByExample(GenTableColExample example);

    GenTableCol selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") GenTableCol record, @Param("example") GenTableColExample example);

    int updateByExample(@Param("record") GenTableCol record, @Param("example") GenTableColExample example);

    int updateByPrimaryKeySelective(GenTableCol record);

    int updateByPrimaryKey(GenTableCol record);
    
    void insertBatch(List<GenTableCol> records);
}